www.gusucode.com > Simulink Spell Checking Utility 程序工具箱matlab源码 > Simulink Spell Checking Utility/SpellCheck/sandbox/checkSpellMSWord.m

    function suggestion = checkSpellMSWord(word)

h = actxserver('word.application');
h.Document.Add;
suggestion = h.CheckSpelling(word);
h.Quit;

end